﻿@model EquipmentStockInModel

@{
    //page title
    ViewBag.Title = "确认入库记录";
    //active menu item (system name)
    Html.SetActiveMenuItemSystemName("StockIn list");
}

@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "stockin-form" }))
{
    @Html.AntiForgeryToken()
    <div class="content-header clearfix">
        <h1 class="pull-left">
            确认入库记录 - @Model.SNo
            <small><i class="fa fa-arrow-circle-left"></i>@Html.ActionLink("返回入库记录列表", "List")</small>
        </h1>
        <div class="pull-right">
            @if (Model.State == (int)Nop.Core.Domain.XJ.StockInStateEnum.待入库)
            {
                <button type="submit" name="save-pass" class="btn bg-blue">
                    <i class="fa fa-floppy-o"></i>
                    入库
                </button>
                <button type="submit" name="save" class="btn bg-red">
                    <i class="fa fa-floppy-o"></i>
                    驳回
                </button>
            }
        </div>
    </div>
    @Html.Partial("_View", Model)
}
